export default {
  type(state) {
    return state.userInfo?.usertype;
  },
  isAdmin(state, getters) {
    return getters.type === 0;
  },
};
